Fix test references to GitHub organization name#13348
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the JavaScript test suite and related helper documentation to consistently reference the correct GitHub organization name (github) instead of githubnext.
Changes:
- Updated hardcoded GitHub org references in unit tests to use
github. - Updated the live API test script configuration to query
github/gh-aw. - Adjusted inline documentation examples in
repo_helpers.cjsto match the updated org.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| actions/setup/js/update_project.test.cjs | Updates the Projects v2 test URL to use the github org. |
| actions/setup/js/test-live-github-api.cjs | Switches the live API script’s owner to github. |
| actions/setup/js/repo_helpers.test.cjs | Updates default repo/org expectations in repo validation tests. |
| actions/setup/js/repo_helpers.cjs | Updates doc comment example to reference github/something. |
| actions/setup/js/frontmatter_hash_github_api.test.cjs | Updates GitHub API-based hash tests to use owner = "github". |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update tests and related functions to reference the correct GitHub organization name, ensuring consistency across the codebase.